var choose = function () {
    var that = $('.nr-toolbar').toolbar();

    //多选控制
    var rowids = that.grid.jqGrid('getGridParam', 'selarrrow');

    var rowdata = that.getRowFullDatas(rowids, 'role_id');
    sy.callback(rowdata);
}
$(function () {
    $('.nr-toolbar').toolbar('setFuncs', {
        choose: function (rowid) {
            choose();
        }
    });
})